package org.example.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.entity.dto.QueryQuestionDto;
import org.example.entity.po.AssQuestionPO;
import org.example.entity.vo.pc.AssQuestionVO;

import java.util.List;

/**
 * @Author sunyaoyao
 * @Date 2024/7/28 18:10
 */
@Mapper
public interface AssQuestionMapper {
    void insert(AssQuestionPO po);

    List<AssQuestionVO> list();

    void delete(@Param("id")Long id);

    List<AssQuestionVO> listUser(QueryQuestionDto dto);
    List<AssQuestionVO> listDy(QueryQuestionDto dto);

    void overTask(@Param("id")Long id);
}
